package com.hhxy.array;

public class Address {
    public static void main(String[] args) {
        int[] arr = {1};
        f(arr);
        System.out.println(arr[0]);
    }

    private static void f(int[] arr) {
        arr[0]=2;
        System.out.println(arr[0]);
    }
}
